﻿using System;
using System.Windows.Forms;

namespace NoteHelper
{
    public partial class NoteForm : Form
    {
        public NoteForm()
        {
            InitializeComponent();
        }

        public string Note
        {
            get { return richTextBox1.Text.Trim(); }
            set { richTextBox1.Text = value; }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Yes;
        }
    }
}
